/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header Styling */
.header {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 20px 38px;
    background: transparent;
    z-index: 10;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  /* background-color: white; */
  background-color: rgb(45, 44, 44);
  padding : 10px 5px;
  min-width: 160px;
  min-height: 70px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 10;
  border-radius: 5px;
  /* Add a small offset to ensure no gap between button and menu */
  top: 100%; /* Aligns the menu directly below the button */
  left: 0;
  /* margin-top: 10px; */
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease;
}

/* .dropdown-content a:hover {
  background-color: #ddd;
} */

/* Hover Styles */
.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* .dropdown:hover .dropbtn {
  background-color: #f1f1f1;
} */

/* Transition Effect */
.dropdown-content {
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

/* Ensure hover state stays active */
.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  visibility: visible;
}

  

/* Logo Section */
.header .logo {
    display:flex;
    align-items:center;
    margin-left: -720px;
}

.header .logo img {
    width: 275px;
    height: 75px;
    margin-left: 60px;
    margin-top: -10px;
}

/* Navigation Menu */
.nav {
    position: absolute;
    right: 20px;
    top: 145%;
    transform: translateY(-50%);
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 5px 10px;
    transition: color 0.3s ease;
    font-family: 'DM Sans', sans-serif;

}

.nav ul li a:hover {
    color: #44abd0;
    /* text-decoration: underline; */
}

/* Quote Button Styling */
.nav ul li a.sign-up {
    background: #007bff;
    color: #fff;
    padding: 5px 10px;
    border-radius: 7px;
}

.nav ul li a.quote-btn:hover {
    background: #0056b3;
}

/* Style for active menu item */
.nav ul li a.active {
  color: #44abd0; /* Change this to your desired active color */
  font-weight: bold; /* Optional: Makes the active item bold */
}

/* Dropdown Styles */
.profile-dropdown {
  position: relative;
  display: inline-block;
}


.profile-dropdown .dropdown-content1 {
  position: absolute;
  top: 130%; /* Position the dropdown below the button */
  left: 0; /* Align dropdown to the left of the container */
  transform: translateX(-50%); /* Optional: Adjust the offset further */
  background-color:rgb(45, 44, 44);
  min-width: 145px; /* Adjust width if necessary */
  z-index: 1000; /* Ensure it appears above other elements */
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2); /* Add a shadow for aesthetics */
  border-radius: 5px; /* Rounded corners */
  padding: 10px 0px;
}

.profile-dropdown .dropdown-content1 a {
  display: block; /* Ensures each item takes up its line */
  padding: 5px 15px; /* Adds space inside each option */
  margin-bottom: 5px; /* Adds space between options */
  text-decoration: none; /* Optional: Remove underline from links */
}

.profile-dropdown .dropdown-content1 a:last-child {
  margin-bottom: 0; /* Removes the margin from the last item */
}


/* Hover Styles */
.profile-dropdown:hover .dropdown-content1 {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* Transition Effect */
.dropdown-content1 {
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}


/* Hide Profile Icon initially */
#profile-dropdown {
  display: none;
}


/* Hero Section Styling */
.hero {
    position: relative;
    height: 60vh;
    background: url('../images/contact2.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adds a dark overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 400;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-top: -80px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 800;
    /* font-family: 'Poppins', sans-serif; */
}

.hero-content h2 {
    font-size: 1.5rem;
    margin-top: 20px;
    font-family: 'DM Sans', sans-serif;
    /* font-family: 'Poppins', sans-serif; */
}

.hero-content p {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: -400px;
    font-family: 'DM Sans', sans-serif;
    /* font-family: 'Poppins', sans-serif; */


}

.hero-content .btn {
    background: #007bff;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.hero-content .btn:hover {
    background: #0056b3;
}


/* Service section */

.services-section {
    padding: 60px 20px;
    /* background-color: #f9f9f9; */
    background-color:#ffffff;

    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    font-family: 'DM Sans', sans-serif;

}

.section-description {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
    font-family: 'DM Sans', sans-serif;

}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    padding: 20px;
    /* background-color: #fff; */
    background-color: #F2F1E5;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    border: 1px solid #000000;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #03264e;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}




/* client section */

.clients-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #ffffff;
    height:450px;
  }
  
  .clients-header h2 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    font-family: 'DM Sans', sans-serif;
  }
  
  .clients-header p {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
    font-family: 'DM Sans', sans-serif;
  }
  
  .clients-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap;
  }
  
  .client {
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: transparent;
    border: none;
  }
  
  .client:hover {
    transform: scale(1.1);
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); */
  }
  
  .client-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    transition: transform 0.3s ease;
  }
  
  .client-logo:hover {
    transform: scale(1.1);
  }

  .client-logo-railway {
    width: 130px;
    height: 115px;
    object-fit: contain;
    transition: transform 0.3s ease;
  }
  
  .client-logo-railway:hover {
    transform: scale(1.1);
  }

 /* project section */
/* Main project section styling */
.project-section {
  background-color: #212121; /* Black background */
  color: white;
  padding: 50px 20px;
  text-align: center;
  margin-top: 90px;
}

/* Container to limit width of the content */
.project-container {
  max-width: 1000px;
  margin: 0 auto;
  margin-top: -150px;
}

/* Flex layout to align text and image horizontally */
.project-content {
  display: flex;
  align-items: stretch; /* Make text and image containers stretch to the same height */
  justify-content: flex-start; /* Align to the left */
  height: 400px;

}

/* Styling for the text content */
.project-text {
  background-color: #f8e7b4; /* Yellow background for text */
  padding: 30px;
  width: 50%; /* Set width to make it take up half the space */
  /* border-radius: 10px; */
  color: #212121; /* Dark text color */
  text-align: left; /* Align text to the left */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
}

.project-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.project-text p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.connect-button {
  background: none;
  border: 1px solid #212121;
  padding: 10px 20px;
  color: #212121;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 200px;
}

.connect-button:hover {
  background-color: #212121;
  color: #f8e7b4;
}

/* Styling for the project image */
.project-image {
  width: 50%; 
  display: flex;
  align-items: center;
  justify-content: center; /* Center image inside container */
  /* height:260px; */
}

.project-image img {
  width: 100%;
  height: 100%; /* Make the image height fill its container */
  object-fit: cover; /* Ensure the image covers the container without distortion */
  /* border-radius: 10px; */
}

/* Styling for the business text section */
.business-text {
  margin-top: 50px;
  display: flex; /* Use flexbox to align the children */
  justify-content: space-between; /* Place h2 and p on opposite sides */
  align-items: center; /* Vertically align text */
  max-width: 1000px; /* Maximum width of the section */
  margin-left: 242px;
  margin-right: auto;
  text-align: left; /* Align text to the left */
}

/* Styling for the h2 */
.business-text h2 {
  font-size: 2rem;
  width: 50%; /* h2 takes up half the space */
  margin: 0; /* Remove default margin */
}

/* Styling for the p */
.business-text p {
  font-size: 1rem;
  width: 45%; /* p takes up the remaining space */
  line-height: 1.6;
  text-align: justify;
}




/* Footer Section */
footer {
    background-color: #ffffff;
    color: #000000;
    padding: 40px 40px;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
  }
  
  /* Top Section */
  .footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: 1px solid #424242;
    padding-bottom: 10px;
    margin-bottom: 20px;
  }
  
  /* Logo Section */
  .footer-logo img {
    width: 100px;
    margin-bottom: 10px;
    margin-left: 40px;
  }
  
  .footer-logo p {
    max-width: 300px;
    font-size: 16px;
  }
  
  .social-icons a {
    color: #000000;
    margin-right: 25px;
    font-size: 20px;
    transition: color 0.3s ease;
  }
  
  .social-icons a:hover {
    color: #007bff;
  }
  
  /* Quick Links */
  .footer-links h4, .footer-contact h4 {
    margin-bottom: 10px;
    font-size: 16px;
    text-transform: uppercase;
  }
  
  .footer-links ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-links ul li {
    margin-bottom: 8px;
  }
  
  .footer-links ul li a {
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
  }
  
  .footer-links ul li a:hover {
    color: #007bff;
  }
  
  /* Contact Info */
  .footer-contact p {
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  /* Bottom Section */
  .footer-bottom {
    text-align: center;
    font-size: 16px;
    /* padding: 0px 0; */
    /* background-color: #181818; */
    margin-bottom: -10px;
  }
  